package ru.vba.kitchen


class Tag {
	enum TagType {
		WANT, FOOD
	}
	
	String name
	TagType tagType
	static hasMany = [pictures : Data]
	static constraints = {
		tagType(nullable:true)
	}
	@Override
	public String toString() {
		return name
	}
}
